.TH AX 1 "May 2022" "version 0.0.3" "USER COMMANDS"
.SH NAME
ax \- run X server with windows/desktop environment specified in the command
line.
.SH SYNTAX
.BI "ax [" windows\-desktop_manager "|" \-L "|" \-l "|" \-p "|" \-V "|" \-? "]"
.SH DESCRIPTION
.B ax
program run X server with windows/desktop environment specified in the command
line.
.PP
If no argoment is specified,
.B ax
search it in the file .xinitrc if exist else run default windows\-desktop
environment.
.SH OPTION
.TP
.B "windows\-desktop_manager"
Windows/desktop environment to run.
.TP
.B "-L"
Localization.
.TP
.B "-l"
List windows/desktop environment known.
.TP
.B "-p"
List windows/desktop environment available.
.TP
.B "-V"
Print version information in the standard output and exit (with success).
.TP
.B "-h"
Print syntax in the standard output and exit (with success).
.SH RETURN VALUE
.B ax
return a value equal to zero if start with success a windows/desktop
environment selected. If error return a value different to zero.
.SH FILE
.TP
.I ~/.xinitrc
File wrote from ax that indicate the program to run at the start of X server.
.TP
.I /usr/local/etc/ax/client
Global configuration file that indicate where are registered windows/desktop
environment that ax runs. File format is divided in field: name of
windows/desktop environment, name of executable and optionally parameter to
pass to executable. This file is read subsequently to local configuration file
only if the client is not found.
.TP
.I ~/.ax/client
Local configuration file that indicate where are registered windows/desktop
environment that ax runs. This file use same file format of global
configuration file and is read before it.
.TP
.I /usr/local/etc/ax/script.sh
Global shell file that specified the program must be executed before the start
of X server. This file is read before of local shell file.
.TP
.I ~/.ax/ax.sh
Local shell file that specified the program must be executed before the start
of X server. This file is read after of global shell file.
.TP
.I /usr/local/etc/ax/args.sh
Global shell file that specified parameters to pass as argument to X server.
This file is read before local shell file.
.TP
.I ~/.ax/args.sh
Local shell file that specified parameters to pass as argument to X server.
This file is read only if global shell file is not exist.
.TP
.I /usr/local/etc/ax/post.sh
Global shell file that specified the program must be executed after termination
of X server. This file is read before local shell file.
.TP
.I ~/.ax/post.sh
Local shell file that specified the program must be executed after termination
of X server. This file is read only if global shell file is not exist.
.TP
.I /usr/local/etc/ax/lang/
Directory where are localization file.
.SH AUTHOR
Viverna (viverna (at) inventati.org)
.SH SEE ALSO
startx(1)
xinit(1)

